﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace BLL
{
    /// <summary>
    /// Define User Interface
    /// </summary>
    public interface IUserRepository
    {
        bool AddNewUser(User user);

        void DeleteUser(int userId);

        void UpdateUser(User user);

        List<User> GetAllUser();

        List<Department> GetAllDepartment();

        User GetUserById(int userId);

        List<User> SearchUser(int departmentId, string firstName,string lastname);
    }
}



